import { createApp } from "vue";
import "./assets/css/index.css"; //导入公共基础样式
import router from "./router"; //导入/src/router/index.ts路由
import ElementPlus from "element-plus"; //导入ElementPlus库
import "element-plus/dist/index.css"; //导入ElementPlus自带样式
import pinia from "./stores"; //导入pinia，默认找index.ts文件
import App from "./App.vue";

//创建Vue实例
const app = createApp(App);

//注册router路由
app.use(router);
//注册ElementPlus模块
app.use(ElementPlus);
//注册pinia模块
app.use(pinia);

//挂载Vue实例
app.mount("#app");
